package cn.tarena.ht.tool;

import org.apache.shiro.crypto.hash.Md5Hash;

public class Md5HashTool {
	
	public static String getPassword(String username,String password) {
		
		Md5Hash md5Password = new Md5Hash(password, username, 3);
		
		return md5Password.toString();
	}
	
}
